find area of rectangle in java